package com.demo.main;
import static com.demo.util.QRCodeUtils.QREncode;
import static com.demo.util.QRCodeUtils.QRReader;

public class Test {
    public static void main(String[] args) {
        try {
            QREncode("程序员技术大联盟哈哈哈哈",System.getProperty("user.dir")+"\\demo-api-service\\src\\main\\resource\\photo\\logo.png");
            QRReader(System.getProperty("user.dir")+"\\demo-api-service\\src\\main\\resource\\photo\\result.png");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
